home *** CD-ROM | disk | FTP | other *** search
- @echo off
- goto Start ╒══════════════╕
- │ MAKE.BAT │
- ╘══════════════╛
-
- Version 1.1
-
- Wed 09-08-1993 03:35:06
-
- John De Palma on CompuServe 76076,571
- :Start
-
- if "%1"=="" goto HELP
- if "%2"=="" goto HELP
- if exist %2 goto EXError
- copy txt2exe.com/b + %1 %2
- goto END
- :HELP
- cls
- echo:
- echo:
- echo MAKES AN EXECUTABLE PROGRAM FROM A TEXT FILE
- echo The command is:
- echo:
- echo MAKE.BAT MyFile.TXT MyFile.EXE
- echo:
- echo Where "MyFile.TXT" is your text file, and
- echo "MyFile.EXE" is the EXECUTABLE file name...
- echo:
- echo
- pause
- goto END
- :EXError
- echo:
- echo:
- echo ╒════════════════════════════════════════╕
- echo │ CAN'T OVERWRITE AN EXISTING FILE! │
- echo │ │
- echo │ ───────────────────────────┘
- echo │ The File: %2
- echo │ ───────────────────────────┐
- echo │ EXISTS in this directory... │
- echo │ │
- echo │ Can't overwrite it..., not nice! │
- echo ╘════════════════════════════════════════╛
- echo:
- echo:
- echo
- pause
-
- :END
-